package web.controller.user;

import common.consts.ContentType;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import service.ServiceResponse;
import web.Routes;
import web.controller.Base;
import web.req.SearchRequest;
import web.security.Protection;

/**
 * Created by aceyin on 15/7/6.
 */
@RestController
@RequestMapping(Routes.User.SEARCH)
public class Search extends Base {

    @Protection
    @RequestMapping(method = RequestMethod.POST, produces = ContentType.JSON)
    public ServiceResponse search(@RequestBody SearchRequest request) {
        return null;
    }
}
